<?php
/**
 * Created by PhpStorm.
 * User: zhongbaitong
 * Date: 2020/1/13
 * Time: 14:14
 */

namespace app\im\model;

class ChatDeletion extends ImBase
{

    // 获取已删除的IDs
    public static function getByUID($user_id)
    {
        $chat_ids = ChatDeletion::where(compact("user_id"))
            ->column("chat_id");
        return $chat_ids;
    }
}